package com.gxa.www.cl.controller;

import com.gxa.www.cl.common.base.RespResult;
import com.gxa.www.cl.service.SysAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sys_user") //前缀
public class SysUserController {

    @Autowired
    private SysAdminService sysAdminService;

    @GetMapping("/findSysUserAll")
    public RespResult findSysUserAll() {
        return sysAdminService.findSysUserAll();
    }

}